

import os
from celery import Celery

app=Celery('sms')

###佩环境
os.environ.setdefault('FLASK','wyypython.config')


app.config_from_object('mycelery.config')
app.autodiscover_tasks(["mycelery.sms",])
